package com.lollipop.programming.designpattern.strategy;

import java.math.BigDecimal;

/**
 * @Author Lollipop
 * @Date 2025/4/10 8:19
 * @Description 策略模式-模拟订单支付（云闪付、支付宝、微信）-支付策略接口
 */
public interface PaymentStrategy {
    /**
     * 支付
     *
     * @param amount
     * @return
     */
    boolean pay(BigDecimal amount);
}
